package edu.tgc.web.form.hrm;

import java.util.Date;
import java.util.UUID;

import org.abyss.common.web.form.easyui.CommonEasyuiWebForm;
import org.springframework.format.annotation.DateTimeFormat;

import edu.tgc.entity.hrm.dictionary.HrmEducationType;
import edu.tgc.entity.system.SysUser;

public class HrmEducationHistoryForm extends CommonEasyuiWebForm<UUID> {

    protected String description;
    // 结束时间
    protected Date endDate;
    // 学校性质
    protected String feature;
    // 专业
    protected String major;
    // 学历资格
    // 学校名称
    protected String name;
    protected Integer sort = 1;
    // 开始时间
    protected Date startDate;
    // 学历 本科等
    protected HrmEducationType type;
    // 所属员工
    protected SysUser user;

    public String getDescription() {
        return this.description;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date getEndDate() {
        return this.endDate;
    }

    public String getFeature() {
        return this.feature;
    }

    public String getMajor() {
        return this.major;
    }

    public String getName() {
        return this.name;
    }

    public Integer getSort() {
        return this.sort;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date getStartDate() {
        return this.startDate;
    }

    public HrmEducationType getType() {
        return this.type;
    }

    public SysUser getUser() {
        return this.user;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public void setType(HrmEducationType type) {
        this.type = type;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }

}
